import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { NgZorroAntdModule } from 'ng-zorro-antd';
import { ChartsModule } from 'ng2-charts';

import { ChartComponent } from './chart.component';

import { ChartRoutingModule } from './chart.router';
import { AreaComponent } from './area/area.component';
import { LineComponent } from './line/line.component';
import { ChartmainComponent } from './chartmain/chartmain.component';

@NgModule({
  declarations: [
    ChartComponent,
    AreaComponent,
    LineComponent,
    ChartmainComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    ChartsModule,
    BrowserAnimationsModule,
    NgZorroAntdModule.forRoot(),
    ChartRoutingModule
  ]
})
export class ChartModule { }
